from django.urls import path, re_path
from . import views

app_name = 'bookinfo'
urlpatterns = [
    # re_path('^book_info/(?P<bookname>\d+)$', views.Book_Info.as_view(), name='book_info'),
    re_path('^book_info/(?P<bookid>\d+)$', views.Book_Info.as_view(), name='book_info'),
    re_path('^book_info/', views.Search_Book.as_view(), name='test'),
    path('delete_book/', views.delete_book.as_view(), name='delete_book'),
    path('BorrowBook/', views.BorrowBook.as_view(), name='BorrowBook'),
]
